package com.example.customer.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author tc
 * @since 2022-10-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("customer")
public class CustomerDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty("ID")
    @ColumnWidth(15)
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 姓名
     */
    @ExcelProperty("姓名")
    @ColumnWidth(15)
    private String name;

    /**
     * 性别
     */
    @ExcelProperty("性别")
    @ColumnWidth(15)
    private String sex;

    /**
     * 密码
     */
    @ExcelProperty("密码")
    @ColumnWidth(15)
    private String pwd;

    /**
     * 地址
     */
    @ExcelProperty("地址")
    @ColumnWidth(15)
    private String address;

    /**
     * 邮箱
     */
    @ExcelProperty("邮箱")
    @ColumnWidth(15)
    private String email;


}
